logging: render formattedMessage on stdout; tool calls log key-value pairs - #1485
Merged
Conversation
…pairs The shared JsonEncoder keeps the raw template and arguments for machine readers and adds the rendered line for eyes. ToolCallLog writes tool/ms/outcome as key-value pairs under a tool_call message, the shape the stats pipeline reads.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
1d4-web | f915d0a | Commit Preview URL Branch Preview URL |
Sep 03 2026, 03:47 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
iili | f915d0a | Commit Preview URL Branch Preview URL |
Sep 03 2026, 03:48 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ast-lol | f915d0a | Commit Preview URL Branch Preview URL |
Sep 03 2026, 03:48 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shared logback JsonEncoder now also writes formattedMessage, so docker logs read by eye while message/arguments stay as they are for the stats pipeline. mcpserver's per-call line becomes message tool_call with tool, ms, and outcome as key-value pairs, the same shape as one_d4's query events; the tests pin the pairs instead of parsing text.